package org.dromara.xyyw.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.xyyw.domain.XyywGoods;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import java.util.Date;
import java.io.Serial;
import java.io.Serializable;

/**
 * 商品视图对象 xyyw_goods
 *
 * @author yf
 * @date 2024-05-29
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = XyywGoods.class)
public class XyywGoodsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 商品ID
     */
    @ExcelProperty(value = "商品ID")
    private Integer goodId;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Integer userId;

    /**
     * 商品名称
     */
    @ExcelProperty(value = "商品名称")
    private String goodName;

    /**
     * 分类ID
     */
    @ExcelProperty(value = "分类ID")
    private Integer categoryId;

    /**
     * 销售价
     */
    @ExcelProperty(value = "销售价")
    private BigDecimal salePrice;

    /**
     * 图片
     */
    @ExcelProperty(value = "图片")
    private String productImage;

    /**
     * 详细描述
     */
    @ExcelProperty(value = "详细描述")
    private String detailedDescription;

    /**
     * 上架状态
     */
    @ExcelProperty(value = "上架状态")
    private String shelfStatus;

    /**
     * 上架时间
     */
    @ExcelProperty(value = "上架时间")
    private Date shelfTime;

    /**
     * 下架时间
     */
    @ExcelProperty(value = "下架时间")
    private Date unshelfTime;

    /**
     * 是否推荐
     */
    @ExcelProperty(value = "是否推荐")
    private String isRecommended;

    /**
     * 销量
     */
    @ExcelProperty(value = "销量")
    private Integer salesVolume;

    /**
     * 评论数量
     */
    @ExcelProperty(value = "评论数量")
    private Integer commentCount;

    /**
     * 评分
     */
    @ExcelProperty(value = "评分")
    private BigDecimal rating;

    /**
     * 商品标签
     */
    @ExcelProperty(value = "商品标签")
    private String productTags;

    /**
     * 主要成分
     */
    @ExcelProperty(value = "主要成分")
    private String mainIngredients;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

}
